<?php

/**
 *  微信分帐
 */

namespace App\Providers;

use Illuminate\Support\ServiceProvider;
use App\Contracts\WxProfitSharing;

class WxPsServiceProvider extends ServiceProvider
{
    /**
     * Register services.
     *
     * @return void
     */
    public function register()
    {
        $config = config('WxPs1');
        $this->app->bind(WxProfitSharing::class,function () use ($config){
            return new WxProfitSharing($config);
        });
    }

    /**
     * Bootstrap services.
     *
     * @return void
     */
    public function boot()
    {
        //
    }
}
